<template>
  <div class="login_page">
      <section class="login_container">
   <h3 class="login_title">叩丁狼电商管理系统</h3>
    <el-form
      :model="ruleForm"
      status-icon
      :rules="rules"
      ref="ruleForm"
      label-width="100px"
      class="demo-ruleForm"
    >
      <el-form-item label="密码" prop="pass">
        <el-input
          type="password"
          v-model="ruleForm.pass"
          autocomplete="off"
        ></el-input>
      </el-form-item>
      <el-form-item label="确认密码" prop="checkPass">
        <el-input
          type="password"
          v-model="ruleForm.checkPass"
          autocomplete="off"
        ></el-input>
      </el-form-item>
      <el-form-item label="年龄" prop="age">
        <el-input v-model.number="ruleForm.age"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="submitForm('ruleForm')"
          >提交</el-button
        >
        <el-button @click="resetForm('ruleForm')">重置</el-button>
      </el-form-item>
    </el-form>
      </section>
 
  </div>
</template>
 
<script>
export default {
  data() {
    return {
      ruleForm: {},
      rules: {},
    };
  },
};
</script>
 
<style lang = "less" scoped>
.login_page {
  height: 100%;
  background-color: #324057;
  /* 标题 */
  .login_title {
    padding: 10px 0;
    color: #fff;
    font-size: 24px;
    text-align: center;
  }
}
</style>